
Partial Class Provider_Backup_Default
    Inherits ECGPage

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        CheckRole("ProviderListBackups")
    End Sub

    Protected Sub btnBackup_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnBackup.Click
        Response.Redirect("Create.aspx")
    End Sub

    Protected Sub btnBuscar_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnBuscar.Click
        grdBackups.DataBind()
    End Sub

    Protected Sub grdBackups_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles grdBackups.SelectedIndexChanged
        Dim grd As GridView = sender
        Response.Redirect("Restore.aspx?id=" & grd.SelectedValue)
    End Sub
End Class
